package com.thon.dao.project;

import java.util.List;

import com.thon.dao.util.BaseDao;
import com.thon.dao.util.Page;
import com.thon.entity.project.ProjectRecommend;
import com.thon.entity.user.User;

/**
 * @file ProjectRecommendDao.java
 * @author Zemo
 * @mail zemochen@gmail.com
 * @data 2013年10月11日 上午11:31:52
 * @description: TODO
 */
public interface ProjectRecommendDao extends BaseDao<ProjectRecommend> {

	public Long countRecommend(int projectId);

	public List<ProjectRecommend> listRecommender(int projectId);

	public Page<ProjectRecommend> getProjectPage(Page<ProjectRecommend> page);

	public ProjectRecommend getProjectRecommend(int pid, int uid);
	
	public Long hasRecommend(Integer uid,Integer pid);
}
